package com.hh.vo;

import com.hh.entity.OrderItem;
import com.hh.entity.UserAddr;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author 辉辉 2022/8/22 1:23
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@ApiModel("订单的确认对象")
public class OrderConfirmResult {

    @ApiModelProperty("用户默认收货地址")
    private UserAddr userAddr;

    @ApiModelProperty("订单详情的集合")
    private List<OrderVo> shopCartOrders;

    @ApiModelProperty("用户的优惠券")
    private List<Long> coupList;

    @ApiModelProperty("订单实际总金额")
    private BigDecimal actualTotal;

    @ApiModelProperty("订单总金额")
    private BigDecimal total;

    @ApiModelProperty("订单的商品数量")
    private Integer totalCount;

    @ApiModelProperty("订单的总运费")
    private BigDecimal yunfei;

    @ApiModelProperty("备注")
    private String remark;

}
